package com.lagou.bean;

import cn.victor.service.IDemoApi;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ConsumerComponent {
    @Reference
    private IDemoApi demoService;

    public void callA(){
        demoService.methodA();
    }
    public void callB(){
        demoService.methodB();
    }
    public void callC(){
        demoService.methodC();
    }
}
